package com.hzdl.car.service;

import com.github.pagehelper.PageInfo;
import com.hzdl.car.bean.News;
import com.hzdl.car.vo.NewsVo;

import java.util.List;

public interface NewsService {
    PageInfo<News> findWhere(NewsVo newsVo);
    int add(NewsVo newsVo);
    int delete(Integer id);
    int update(NewsVo newsVo);
    List<News> findList();
}
